//
//  WaitView.h
//  DzNews
//
//  Created by zengyuan on 7/11/13.
//  Copyright (c) 2013 zengyuan. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

@interface WaitView : UIView
{
    int angle;
    BOOL quit; //是否停止
}
@property BOOL isRolling;
@property(strong,nonatomic) UIImageView *circle;
@property(strong,nonatomic) UIImageView *waitImageView;
@property(strong,nonatomic) UILabel *tipLabel;

-(void)startRoll;
-(void)stopRoll;

@end


@interface ErrorView: UIView
@property(strong,nonatomic) UILabel *errLabel;
@property(strong,nonatomic) UIButton *btn;
@property(nonatomic ,strong)UIImageView *imageView;
-(id)initWithFrame:(CGRect)frame text:(NSString *)text;
@end

@interface WaitViewCannotRoll : WaitView
@end

@interface WaitMutibleError : WaitView
@property(strong,nonatomic) UILabel *titleLabel;
@property(strong,nonatomic) UILabel *titleLabel2;
@end

